html,
body,
#app {
  height: 360px;
  width: 280px;
  margin: 0px;
  padding: 20px 0px;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
}

#content {
  margin: 10px;
  padding: 10px;
}

#content input {
  display: inline-block;
  width: 65px;
}

#content select {
  width: 150px;
  height: 28px;
}

#content>div {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #606266;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: .1s;
  font-weight: 500;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;
  width: initial !important;
}

#handle {
  color: #fff;
  background-color: #409eff;
  border-color: #409eff;
}

#handle:hover,
#handle:focus {
  background: #66b1ff;
  border-color: #66b1ff;
  color: #fff;
}

#handle:active {
  background: #3a8ee6;
  border-color: #3a8ee6;
  color: #fff;
}

#stop:hover,
#stop:focus {
  background: #f78989;
  border-color: #f78989;
  color: #fff;
}

#stop:active {
  background: #dd6161;
  border-color: #dd6161;
  color: #fff;
}

#stop {
  color: #fff;
  background-color: #f56c6c;
  border-color: #f56c6c;
}

.err-msg {
  color: red;
}

#log-area ul {
  height: 100px;
  overflow-y: auto;
}

#log-area {
  text-align: left;
  margin-top: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 22px;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: background-color .4s;
  border-radius: 14px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 4px;
  bottom: 4px;
  background-color: #FFF;
  -webkit-transition: .4s;
  transition: background-color .4s;
  border-radius: 13px;
}

input[type=checkbox]:checked+.slider {
  background-color: #2196F3;
}

input[type=checkbox]:checked+.slider:before {
  -webkit-transform: translateX(28px);
  -ms-transform: translateX(28px);
  transform: translateX(28px);
}